﻿using System;
using System.Collections.Generic;

namespace WhereIsMyCash.Entity
{
    /// <summary>
    /// 支出明细实体
    /// </summary>
    public class ExpenditureDetailInfo : BaseEntity
    {
        /// <summary>
        /// 支出ID
        /// </summary>
        public int ExpenditureID { get; set; }

        /// <summary>
        /// 支出项名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 支出日期
        /// </summary>
        public DateTime AccountingDate { get; set; }

        /// <summary>
        /// 记账人ID
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// 支出的帐户ID(-1为其他，0为现金，否则为银行卡ID)
        /// </summary>
        public int CardID { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public float UnitPrice { get; set; }
    }


    /// <summary>
    /// 支出明细实体列表
    /// </summary>
    public class ExpenditureDetailInfos : List<ExpenditureDetailInfo>
    { 
    
    }
}
